home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 8
/
The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO
/
prg_casm
/
vidmgr13.zip
/
OPSYS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1996-10-03
|
689b
|
27 lines
/*
* OPSYS.H Operating environment detection and time-slicing support for
* MS-DOS applications.
*
* Written in June 1996 by Andrew Clarke and released to the public domain.
*/
#ifndef __OPSYS_H__
#define __OPSYS_H__
#define OS_MSDOS 0 /* MS-DOS */
#define OS_OS2 1 /* IBM OS/2 */
#define OS_WINDOWS 2 /* Microsoft Windows */
#define OS_DESQVIEW 3 /* Quarterdeck DESQview */
#define OS_DBLDOS 4 /* DoubleDOS */
#define OS_NETWARE 5 /* Novell Netware */
extern int opsys_id;
int opsysDetect(void);
void opsysTimeSlice(void);
#ifndef __EMX__
unsigned short opsysGetVideoSeg(unsigned short assumed_base);
#endif
#endif